package com.twq.dao;

import com.twq.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {
   // @Select("select * from teacher where id = #{tid}")
   List<Teacher> getTeacher();

//   获取指定老师下的所有学生及老师信息
   Teacher getTeacher2(@Param("tid") int id);
   Teacher getTeacher3(@Param("tid") int id);
}
